#define _CRT_SECURE_NO_WARNINGS 1
#include <vector>
using namespace std;
class Solution {
public:
    int game(vector<int>& guess, vector<int>& answer)
    {
        int count = 0;
        for (int i = 0;i < guess.size();i++)
        {
            if (guess[i] == answer[i]) ++count;
        }
        return count;
    }
};